package com.jzy.ssl.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * WebsiteProperties
 * Description：配置文件配置
 *
 * @author JiangZhaoYong
 * @date 2024/12/5 16:15
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "website")
public class WebsiteProperties {

    /**
     * 到期前多少天预警（超过后持续预警）默认值 15
     */
    private Integer warnBeforeDay = 15;

    /**
     * 监控域名列表
     */
    private List<String> domainList;

    /**
     * 企业微信群的Webhook URL
     */
    private List<String> wechatWebhookUrlList;

}
